home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / diskmags / 0022-3.564 / dmg-3160 / misc / tex_sd.txt < prev    next >
Text File  |  1992-05-12  |  4KB  |  92 lines

  1.  
  2.                Installing TeX on a single-drive ST
  3.  
  4.                           David Harvey
  5.  
  6.           Being the continued adventures of a TeXhacker
  7.  
  8.  
  9. The TeX installation described in my TeX First-Aid article was 
  10. developed on, and described around, an ST system with two disk drives. 
  11. Configuring the program on a single-drive system has proved more 
  12. difficult: this article is the result of the experience of some users 
  13. brave enough to attempt a single-drive installation, and of 
  14. experiments conducted since the publication of the first article.
  15.  
  16. The INITEX and TEX programs are somewhat sensitive to disk changes 
  17. while in operation, even if the 'logical' drive B: is used in the TeX 
  18. setup files. In particular, if errors occur in INITEX, and a new disk 
  19. is inserted to receive the result of the \dump command, portions of 
  20. the format file appear to be overwritten with chunks of the output 
  21. log file. So, first rule - if you are attempting to install on a 
  22. single drive system and INITEX throws up any error message at all, 
  23. type <x> to abort the generation - it is not worth persevering.
  24.  
  25. Second rule (and this goes for installing on a double drive system 
  26. also) - INITEX must be run in the same memory space as the final TeX 
  27. installation will have. Running INITEX in a full megabyte of memory 
  28. will result in a TEX installation which will not cohabit with a 
  29. RAMdisk. The minimal LaTeX installation appears to require about 700k 
  30. RAM, so before starting to install TEX, set up a RAMdisk of c250K.
  31.  
  32. TeX and LaTeX installation pre-load a number of the basic fonts into 
  33. the resulting format files, so the TeX font metric files (extension 
  34. .TFM) need to be available to the INITEX program. There is a problem 
  35. of space on the LaTeX building disks in particular, but with a RAMdisk 
  36. available, this is no problem: simply unpack the TFM files into the 
  37. memory drive. So (for example) to install LaTeX, you should have the 
  38. following:
  39.  
  40. RAMdisk:
  41.     \TFMFILES
  42.         *.TFM - all TFM files 
  43.                     (TEX2:\TEXINPUT\TFM\TFMFILES.ARC)
  44.  
  45. Base TeX disk:
  46.     \TEX
  47.         \TFMFILES
  48.             *.TFM   (as above)
  49.         \STDIN
  50.             *.TEX   (TEX2:\TEXINPUT\STDINPUT\STDINPUT.ARC)
  51.             *.STY
  52.  
  53. TeX format file creation disk:
  54.     INITEX.TTP  (TEX1:\TEX.ARC)
  55.     TEX.POO
  56.     TEXSETUP
  57.     LPLAIN.TEX  (TEX2:\TEXINPUT\LATEX\LATEX.ARC)
  58.     LPLAINO.TEX
  59.     LATEX.TEX
  60.     LFONTS.TEX
  61.     EHYPHEN.TEX (TEX2:\TEXINPUT\HYPHEN\HYPHEN.ARC)    
  62.     TEX\
  63.         (empty directory to keep INITEX happy)
  64.  
  65. Edit the file TEXINPUT so that all entries with drive/path indications 
  66. have the value A:;, except for the entry tfmpaths which should 
  67. reference the RAMdisk directory to which the TFM files have been 
  68. unpacked (e.g. tfmpath=M:\TFMFILES;), and the \dumppath entry, which 
  69. should reference A:\TEX. Load the shell you are using, then place the 
  70. format creation disk in the drive, and type the following:
  71.  
  72.     INITEX LPLAIN
  73.  
  74. After a number of information messages, the system should come to rest 
  75. at a <*> prompt. If an error message appears, stop (type <x>) and 
  76. check that the disks are properly set up and that the TEXINPUT file 
  77. has the correct entries before trying again. Assuming that you are 
  78. safely at the <*> prompt, replace the disk in the drive with the base 
  79. TeX disk and type \dump<return>. More disk activity, more screen 
  80. messages, and (all being well) a file LPLAIN.FMT in the TEX\ folder of 
  81. the base disk will result.
  82.  
  83. Note that to use TeX on a single drive system may require some 
  84. juggling of disks and files. With a disk formatted to 820k, with the 
  85. LaTeX format file, TFM files and one or two LaTeX styles, there is 
  86. about 300K disk space free: just enough for the LKURZ source and 
  87. resulting DVI file, for example. Viewing and printing the files will 
  88. require copying the DVI files to the appropriate printer or screen 
  89. font disk: on my NL10 font disk there is about 138K free, which again 
  90. is enough space for LKURZ.DVI.
  91.  
  92.